var assert = require('assert');
var should = require('should');
var util = require('util');
var _ = require('lodash');
var miracleModel = require('../../app/models/miracleModel.js');
var config = require('../config.js');

suite('测试miracleModel', function () {
    var miracle_model;
    setup(function (done) {
        miracleModel.getByRoleId(config.other_role_id, function (err, model) {
            assert.equal(err == null, true);
            miracle_model = model;
            miracle_model.toJSON();
            done();
        });
    });

    suite('addReceiveVipLevel', function () {
        test('添加已经领取vip等级', function () {
            // miracle_model.getMircleList();
            // console.log('list:', miracle_model.getMircleList());
        });
    });
});
